package com.ruoyi.wms.domain.entity.employee;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruoyi.common.mybatis.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.math.BigDecimal;
import java.util.Date;

/**
 * K项指标明细对象 k_metric_details
 *
 * @author 邓滔滔
 * @date 2024-11-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("k_metric_details")
public class KMetricDetails extends BaseEntity {

    @Serial
    private static final long serialVersionUID=1L;

    /**
     * ID-自增
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    /**
     * 关联门店ID
     */
    private Long storeId;
    /**
     * 营业额
     */
    private BigDecimal revenue;
    /**
     * 小吃销售
     */
    private BigDecimal snackSales;
    /**
     * 新增会员数
     */
    private Long newMembers;
    /**
     * 饱和数
     */
    private Long saturation;
    /**
     * 计算周期
     */
    private Date calculationPeriod;
    /**
     * 实际计算金额
     */
    private BigDecimal actualAmount;

    /**
     * K项总金额
     */
    private BigDecimal kTotalSalay;
    /**
     * 备注
     */
    private String remarks;

}
